﻿using Prism.Commands;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using WpfAGVSystem.Common;

namespace WpfAGVSystem.ViewModels
{
	public class SettingViewModel : BindableBase
	{
        public SettingPara Setting { get; set; }
        public DelegateCommand Save { get; private set; }
        public SettingViewModel(SettingPara settingPara)
        {
            Setting = settingPara;
            Save = new DelegateCommand(save);
        }
        public void save()
        {
            Setting.Save();
        }
    }
}
